import lazyLoading from "./lazyLoading";
import lazyLoadingIndex from "./lazyLoadingIndex";
export default {
  name: "Manager",
  path: "/manager",
  meta: {
    icon: "ion-speedometer titleIcon icon",
    expanded: false,
    show: true,
    label: "manager",
    link: "manager/index.vue"
  },
  component: lazyLoading("manager", true),

  children: [
    {
      name: "Manager",
      path: "",
      component: lazyLoading("manager/Default"),
      meta: {
        link: "manager/Default.vue",
        show: true
      }
    },
    {
      name: "Keyword",
      path: "keyword",
      component: lazyLoadingIndex("manager/Keyword"),
      meta: {
        link: "/manager/keyword",
        description: "关键字匹配",
        icon: "ion-speedometer titleIcon icon",
        show: true
      },
      children: [
        {
          name: "Keyword",
          path: "",
          component: lazyLoading("manager/Keyword/Workbench"),
          meta: {
            link: "manager/Keyword/Default.vue",
            show: true
          }
        },
        {
          name: "Manager",
          path: "manager",
          component: lazyLoading("manager/Keyword/Manager"),
          meta: {
            link: "manager/Keyword/Manager.vue",
            show: true
          }
        },
        {
          name: "Workbench",
          path: "workbench",
          component: lazyLoading("manager/Keyword/Workbench"),
          meta: {
            link: "manager/Keyword/Workbench.vue",
            show: true
          }
        }
      ]
    },
    {
      name: "Relation",
      path: "relation",
      component: lazyLoadingIndex("manager/Relation"),
      meta: {
        link: "/manager/relation",
        description: "故障大小类匹配",
        icon: "ion-speedometer titleIcon icon",
        show: true
      },
      children: [
        {
          name: "Relation",
          path: "",
          component: lazyLoading("manager/Relation/Workbench"),
          meta: {
            link: "manager/Relation/Default.vue",
            show: true
          }
        },
        {
          name: "Manager",
          path: "manager",
          component: lazyLoading("manager/Relation/Manager"),
          meta: {
            link: "manager/Relation/Manager.vue",
            show: true
          }
        },
        {
          name: "Workbench",
          path: "workbench",
          component: lazyLoading("manager/Relation/Workbench"),
          meta: {
            link: "manager/Relation/Workbench.vue",
            show: true
          }
        }
      ]
    },
    {
      name: "Team",
      path: "team",
      component: lazyLoadingIndex("manager/Team"),
      meta: {
        link: "/manager/team",
        description: "故障预处理分组",
        icon: "ion-speedometer titleIcon icon",
        show: true
      },
      children: [
        {
          name: "Team",
          path: "",
          component: lazyLoading("manager/Team/Workbench"),
          meta: {
            link: "manager/Team/Default.vue",
            show: true
          }
        },
        {
          name: "Manager",
          path: "manager",
          component: lazyLoading("manager/Team/Manager"),
          meta: {
            link: "manager/Team/Manager.vue",
            show: true
          }
        },
        {
          name: "Workbench",
          path: "workbench",
          component: lazyLoading("manager/Team/Workbench"),
          meta: {
            link: "manager/Team/Workbench.vue",
            show: true
          }
        }
      ]
    },
    /*   {
      name: "Amend",
      path: "amend",
      component: lazyLoadingIndex("manager/Amend"),
      meta: {
        link: "/manager/amend",
        description: "修复管理",
        icon: "ion-speedometer titleIcon icon",
        show: true
      },
      children: [
        {
          name: "Amend",
          path: "",
          component: lazyLoading("manager/Amend/Workbench"),
          meta: {
            link: "manager/Amend/Default.vue",
            show: true
          }
        },
        {
          name: "Manager",
          path: "manager",
          component: lazyLoading("manager/Amend/Manager"),
          meta: {
            link: "manager/Amend/Manager.vue",
            show: true
          }
        },
        {
          name: "Workbench",
          path: "workbench",
          component: lazyLoading("manager/Amend/Workbench"),
          meta: {
            link: "manager/Amend/Workbench.vue",
            show: true
          }
        }
      ]
    },
    */
    {
      name: "Defect",
      path: "defect",
      component: lazyLoadingIndex("manager/Defect"),
      meta: {
        link: "/manager/defect",
        description: "bug管理",
        icon: "ion-speedometer titleIcon icon",
        show: true
      },
      children: [
        {
          name: "Defect",
          path: "",
          component: lazyLoading("manager/Defect/Workbench"),
          meta: {
            link: "manager/Defect/Default.vue",
            show: true
          }
        },
        {
          name: "Manager",
          path: "manager",
          component: lazyLoading("manager/Defect/Manager"),
          meta: {
            link: "manager/Defect/Manager.vue",
            show: true
          }
        },
        {
          name: "Workbench",
          path: "workbench",
          component: lazyLoading("manager/Defect/Workbench"),
          meta: {
            link: "manager/Defect/Workbench.vue",
            show: true
          }
        }
      ]
    },
    {
      name: "Version",
      path: "version",
      component: lazyLoadingIndex("manager/Version"),
      meta: {
        link: "/manager/version",
        description: "版本管理",
        icon: "ion-speedometer titleIcon icon",
        show: true
      },
      children: [
        {
          name: "Version",
          path: "",
          component: lazyLoading("manager/Version/Workbench"),
          meta: {
            link: "manager/Version/Default.vue",
            show: true
          }
        },
        {
          name: "Manager",
          path: "manager",
          component: lazyLoading("manager/Version/Manager"),
          meta: {
            link: "manager/Version/Manager.vue",
            show: true
          }
        },
        {
          name: "Workbench",
          path: "workbench",
          component: lazyLoading("manager/Version/Workbench"),
          meta: {
            link: "manager/Version/Workbench.vue",
            show: true
          }
        }
      ]
    }
  ]
};
